package catalina;

import server.base.HttpResponse;

import java.io.IOException;

/**
 * @ClassName StanderService
 * @Description TODO
 * @Auth ying.xiao
 * @Date 2021/3/11
 * @Version 1.0.0
 */
public class StanderService implements Service {

    private Engine engine;

    private Connector connector;

    public void setEngine(Engine engine) {
        this.engine = engine;
    }

    public void setConnector(Connector connector) {
        this.connector = connector;
    }

    @Override
    public void service(Request request, Response response) throws IOException {
        engine.service(request,response);
    }
}
